<?php

namespace IDock\Insurance\JTIC\Request;

use IDock\Insurance\JTIC\JTICEnums;
use IDock\Insurance\JTIC\Response\SpecialClausesResponse;
use IDock\Visitor\Premium\PremiumInquiryVisitor;

class SpecialClausesRequest extends AllJTICRequest
{
    public $code = 'V107';

    protected $response = SpecialClausesResponse::class;

    protected $urlTip = '生成特别约定接口';

    /*** @var  PremiumInquiryVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {

        return [
            'BasePart' => [
                'QtnId' => $this->visitor->getExtInfoVisitor()->argc['QtnId'] ?? '',
            ]
        ];
    }
}
